package com.gantrylau.examples.rxjava;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.embedded.EmbeddedServletContainer;
import org.springframework.boot.context.embedded.EmbeddedServletContainerException;

/**
 * @author gantrylau
 * @since 2016年08月24日
 */
@SpringBootApplication
public class MainApplication implements EmbeddedServletContainer {
    @Override
    public void start() throws EmbeddedServletContainerException {

    }

    @Override
    public void stop() throws EmbeddedServletContainerException {

    }

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }

    @Override
    public int getPort() {
        return 8181;
    }
}
